libbsd-dev software package provides utility functions from BSD systems - development files, you can install in your Ubuntu 12.04 LTS (Precise Pangolin) by running the commands given below on the terminal,
$ sudo apt-get update $ sudo apt-get install libbsd-dev
libbsd-dev is installed in your system.
Make ensure the libbsd-dev package were installed using the commands given below,
$ sudo dpkg-query -l | grep libbsd-dev *
You will get with libbsd-dev package name, version, architecture and description in a table
| Distro | Ubuntu 12 04 lts precise pangolin |
| Section | Library development |
| Package | libbsd-dev |
| Version | 0.3.0-2 |
| Description | utility functions from BSD systems - development files |
| Sub Section | libdevel |